package org.xhystudy.rpc.common;

import io.netty.util.concurrent.Promise;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description:
 * @Author: Xhy
 * @gitee: https://gitee.com/XhyQAQ
 * @copyright: B站: https://space.bilibili.com/152686439
 * @CreateTime: 2023-04-30 13:10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RpcFuture<T> {
    private Promise<T> promise;
    private long timeout;


}
